A small fix to the documentation to reflect recent changes to the
authorEwan Mellor <ewan@xensource.com>
Tue, 21 Nov 2006 10:21:00 +0000 (10:21 +0000)
committerEwan Mellor <ewan@xensource.com>
Tue, 21 Nov 2006 10:21:00 +0000 (10:21 +0000)
'cfgbootpolicy' command.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xm/cfgbootpolicy.py
tools/python/xen/xm/main.py

index c7043dfbc53ad8099e030da862b8b2da9b0de9ee..328541e560bcf5f86fc5f3664c5f8fe9a5abed86 100644 (file)
@@ -37,7 +37,7 @@ def help():
     return """
     Adds a 'module' line to the Xen grub configuration file entry
     so that Xen boots with a specific access control policy. If
-    kernelversion is not given, then this script tries to determine
+    boot-title is not given, then this script tries to determine
     it by looking for a title starting with \"XEN\". If there are
     multiple entries matching, then it must be called with the unique
     beginning of the title's name.\n"""
@@ -57,7 +57,7 @@ def strip_title(line):
 def insert_policy(boot_file, alt_boot_file, user_title, policy_name):
     """
     inserts policy binary file as last line of the grub entry
-    matching the kernel_version version
+    matching the user_title or default title
     """
     if user_title:
         #replace "(" by "\(" and ")" by "\)" for matching
index a7fd155b05312f074bf3e4c95ca157d1c5e6554a..da664189d92b88a73ead4ff24a0208f010ecf3fd 100644 (file)
@@ -158,7 +158,7 @@ SUBCOMMAND_HELP = {
     'dry-run'       :  ('<ConfigFile>',
                         'Test if a domain can access its resources.'),
     'resources'     :  ('', 'Show info for each labeled resource.'),
-    'cfgbootpolicy' :  ('<policy> [kernelversion]',
+    'cfgbootpolicy' :  ('<policy> [boot-title]',
                         'Add policy to boot configuration.'),
     'dumppolicy'    :  ('', 'Print hypervisor ACM state information.'),
     'loadpolicy'    :  ('<policy.bin>', 'Load binary policy into hypervisor.'),